.AUTODEPEND

#		*Translator Definitions*
CC = bcc -O -Z -1 -mh -DUSG -DMSDOS -Id:\borlandc\include -Ld:\borlandc\lib
TASM = TASM
TLINK = tlink


#		*Implicit Rules*
.c.obj:
  $(CC) -c {$< }

.cpp.obj:
  $(CC) -c {$< }

#		*List Macros*


EXE_dependencies =  \
  create.obj \
  creature.obj \
  death.obj \
  desc.obj \
  dungeon.obj \
  eat.obj \
  files.obj \
  generate.obj \
  help.obj \
  tcio.obj \
  magic.obj \
  main.obj \
  misc1.obj \
  misc2.obj \
  misc3.obj \
  misc4.obj \
  monsters.obj \
  moria1.obj \
  moria2.obj \
  moria3.obj \
  moria4.obj \
  ms_misc.obj \
  player.obj \
  potions.obj \
  prayer.obj \
  recall.obj \
  rnd.obj \
  save.obj \
  scrolls.obj \
  sets.obj \
  signals.obj \
  spells.obj \
  staffs.obj \
  store1.obj \
  store2.obj \
  tables.obj \
  treasure.obj \
  variable.obj \
  wands.obj \
  wizard.obj

#		*Explicit Rules*
tmoria.exe: $(EXE_dependencies)
  $(TLINK) /v/x/c/P-/LD:\BORLANDC\LIB @&&|
c0h.obj+
create.obj+
creature.obj+
death.obj+
desc.obj+
dungeon.obj+
eat.obj+
files.obj+
generate.obj+
help.obj+
tcio.obj+
magic.obj+
main.obj+
misc1.obj+
misc2.obj+
misc3.obj+
misc4.obj+
monsters.obj+
moria1.obj+
moria2.obj+
moria3.obj+
moria4.obj+
ms_misc.obj+
player.obj+
potions.obj+
prayer.obj+
recall.obj+
rnd.obj+
save.obj+
scrolls.obj+
sets.obj+
signals.obj+
spells.obj+
staffs.obj+
store1.obj+
store2.obj+
tables.obj+
treasure.obj+
variable.obj+
wands.obj+
wizard.obj
tmoria
		# no map file
emu.lib+
mathh.lib+
ch.lib+
graphics.lib
|


#		*Individual File Dependencies*
create.obj: create.c 

creature.obj: creature.c 

death.obj: death.c 

desc.obj: desc.c 

dungeon.obj: dungeon.c

eat.obj: eat.c 

files.obj: files.c 

generate.obj: generate.c 

help.obj: help.c 

tcio.obj: tcio.c 

magic.obj: magic.c

main.obj: main.c 

misc1.obj: misc1.c 

misc2.obj: misc2.c 

misc3.obj: misc3.c 

misc4.obj: misc4.c 

monsters.obj: monsters.c

moria1.obj: moria1.c 

moria2.obj: moria2.c 

moria3.obj: moria3.c 

moria4.obj: moria4.c 

ms_misc.obj: ms_misc.c 

player.obj: player.c

potions.obj: potions.c 

prayer.obj: prayer.c 

recall.obj: recall.c 

rnd.obj: rnd.c 

save.obj: save.c 

scrolls.obj: scrolls.c

sets.obj: sets.c 

signals.obj: signals.c 

spells.obj: spells.c 

staffs.obj: staffs.c 

store1.obj: store1.c 

store2.obj: store2.c

tables.obj: tables.c 

treasure.obj: treasure.c 

variable.obj: variable.c 

wands.obj: wands.c 

wizard.obj: wizard.c 

